import instance from '@/utils/request'

export function loginApi (data) {
  return instance({
    url: '/sys/login',
    method: 'post',
    data
  })
}

export function getInfo () {
  return instance()
}

export function logout () {
  return instance()
}
